﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq;
using System.Data.Linq.Mapping;

namespace Prerequisites.Models
{
    [Table(Name = "redakteure")]
    public class Redakteure
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        internal int redakteur_id { get; private set; }
        [Column(Name = "vorname")]
        public string vorname { get; set; }
        [Column(Name = "nachname")]
        public string nachname { get; set; }
        [Column(Name = "email")]
        public string email { get; set; }
        [Column(Name = "teamnr")]
        public int teamnr { get; set; }
        [Column(Name = "teamleiter")]
        public int teamleiter { get; set; }
    }
}